import mysql.connector

mydb = mysql.connector.connect(
  host="128.26.20.114",
  user="lidong",
  password="",
  database="mysql"
)

mycursor = mydb.cursor()

sql = "SELECT * FROM Area WHERE AreaID = %s"
adr = ("5", )

mycursor.execute(sql, adr)

myresult = mycursor.fetchall()

for x in myresult:
  print(x)